<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>영화관</title>

<link id="MainpageStyle" type="text/css" rel="stylesheet" href="/spring-GOP/css/login/style_90.css">
<link id="pageStyle" type="text/css" rel="stylesheet" href="/spring-GOP/css/login/style_9010.css">
<link type="text/css" rel="stylesheet" href="/spring-GOP/css/common.css">
<link type="text/css" rel="stylesheet" href="/spring-GOP/css/style.css">
</head>
<script>
	function login() {

		var member_id = document.getElementById("id").value;
		var member_pw = document.getElementById("pw").value;

		if (member_id == "") {
			alert("아이디를 입력해주세요.");
			id.focus();
			return;
		} else if (member_pw == "") {
			alert("비밀번호를 입력해주세요.");
			pw.focus();
			return;
		}

		document.forms["login-form"].submit();
	}
</script>

<body>
	<div id="wrapper">
		<!-- container -->

		<div id="container">
			<div id="content">
				<!-- <div> floating - 메인인 경우</div> -->
				<div id="main-shortCut">
					<div class="sub-main-section">
						<!-- 컨텐츠 작성 -->
						<div class="page-type3">
							<h2>
								<p>Primus LOGIN</p>
								Primus <span>로그인</span>
							</h2>
						</div>
						<div class="sub-content">
							<form method="post" name="login-form" id="login-form">
								<fieldset>
									<legend>Primus 로그인</legend>
									<div class="login-box01">
										<div class="input-box id-inputbox">
											<span class="placeholder">
												<label for="id" class="id-img box-img" id="id-label"></label>
												<input type="text" id="id" class="box" name="member_id">
											</span>
										</div>
										<div class="input-box">
											<span class="placeholder">
												<label for="pw" class="pw-img box-img" id="pw-label"></label>
												<input type="password" id="pw" class="box" onkeydown="javascript:if(event.keyCode==13){login();}" name="member_pw">
											</span>
										</div>
										<p class="id-check">
											<input type="checkbox" title="아이디 저장여부를 체크하세요" id="id-save">
											<label for="id-save">아이디 저장</label>
										</p>
										<p class="login-box-btn">
											<a href="#" onclick="login();" onkeydown="login();" 
											id="aLogin" class="button h30 w150 orange" title="로그인하기"><b>로그인</b></a>
										</p>
										<!-- <p class="login-box-btn"><input type="submit" class="button h30 w150 orange" value="로그인"></p> -->
									</div>
									<div class="login-box02">
										<p class="login-box-txt">
											Primus 아이디가 없으신 분은 <strong><a
												href="/GOP/pages/member_add/member_addmain.jsp"
												title="회원가입 하기">회원가입</a></strong> 후 이용하실 수 있습니다.
										</p>
										<div class="login_help">
											<p class="question">아이디나 패스워드가 기억나지 않으세요?</p>
											<p class="question-btn">
												<a href="/spring-GOP/login/search"
													class="button h29 w160 white" title="아이디 비밀번호 찾기"><b>아이디/비밀번호
														찾기</b></a>
											</p>
										</div>
										<div class="sign-in">
											<p class="question">아직 Primus 회원이 아니세요?</p>
											<p class="question-btn">
												<a href="/spring-GOP/member/join1"
													class="button h29 w160 white" title="회원가입하기"><b>GOP
														회원가입</b></a>
											</p>
										</div>
									</div>
								</fieldset>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!-- //container -->

	</div>

</body>
</html>